<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@page import="net.sf.json.JSONObject"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="public/public.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html>
	<head>
		<base href="<%=basePath%>">

		<title>主页</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
		<link rel="stylesheet" type="text/css" href='<%=appPath+"/css/index.css"%>'>
	<script type="text/javascript">
		function sc(){
			window.external.addFavorite(window.location.href,'管理系统');
		}
		var zt=false;
		function zdh(obj){
		if(!zt){
			westPanel.collapse();
			northPanel.collapse();
			zt=!zt;
			}else{
				zxh();
				zt=!zt;
			}
		}
		function zxh(){
			westPanel.expand();
			northPanel.expand();
			
		}
		function tabclose(obj,a,f){
			tab.remove(f);
			if(tab.items.length==0)
			zxh();
		}
		//Ext.util.CSS.swapStyleSheet('window','extjs/resources/css/xtheme-gray.css');
	</script>
	<script type="text/javascript" src="js/main.js"></script>
	</head>

	<body onload="initPage()">
		<% if(((JSONObject)request.getSession().getAttribute("user"))==null){
				response.sendRedirect(path+"/login.jsp");
			}
		%>
		<c:if test="${empty sessionScope.user}">
			<jsp:forward page="/login.jsp"></jsp:forward>
		</c:if>
		<div id='maintop' style="height: 75px; display: none; width: 100%">
			<div
				style="width: 100%; background-color: #9CD4F5; height: 100; background-image: url(images/public/backggroup1.gif)">
				<table>
					<tr>
						<td width="">
							<b style="font-size: 20px; color: white">
								移动宽带安装管理系统
							</b>
						</td>
						<td align="right" width="30%" nowrap="nowrap">
							<table cellspacing="0" align="right" id='dldh'  >
								<tr>
									<!-- <td>
										<a id="jobs-link" href=""><span>登陆</span>
										</a>
									</td>
									<td>
										<a id="company-link" href=""><span>注册</span>
										</a>
									</td>
									-->
									<td>
										<span style="font-size: 12px">
											<b>
												<%=((JSONObject)request.getSession().getAttribute("user"))==null?"未登陆，请重新登陆":"欢迎您:"+((JSONObject)request.getSession().getAttribute("user")).getString("UNAME") %>
											</b>
										</span>
									</td>
									<td>
										<a id="blog-link" href=""><span>退出</span>
										</a>
									</td>
									<td>
										<a id="store-link" href="javascript:sc()"><span>收藏</span>
										</a>
									</td>
								</tr>
							</table><br><br>
							<table cellspacing="0" class="nav main-nav" align="right" >
								<tr>
									<td nowrap="nowrap">
										<a id="" href="javascript:initTree()"><span>首页</span>
										</a>
									</td>
									<td class="" nowrap="nowrap">
										<a id="" href="#"><span>装维管理</span>
										</a>
									</td>
									<td nowrap="nowrap">
										<a id="" href=""><span>员工之家</span>
										</a>
									</td>
									<td nowrap="nowrap">
										<a id="" href=""><span>学习天地</span>
										</a>
									</td>
									<td nowrap="nowrap">
										<a id="" href=""><span>安全生产</span>
										</a>
									</td>
									<td nowrap="nowrap">
										<a id="" href=""><span>资料共享</span>
										</a>
									</td>
									<td nowrap="nowrap">
										<a id="" href=""><span>其他</span>
										</a>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</div>
		</div>
		<div id="layout-borderlayout-main">

		</div>
	</body>
</html>
